package com.excesys.exsecs.energy.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.excesys.exsecs.common.core.util.R;
import com.excesys.exsecs.energy.entity.EnergyInput;
import com.excesys.exsecs.energy.vo.EnergyInputExceVo;
import org.springframework.validation.BindingResult;

import java.util.List;
import java.util.Map;

public interface EnergyInputService extends IService<EnergyInput> {
	R batchImport(List<EnergyInputExceVo> energyInputExceVos, BindingResult bindingResult);
	List powerData(String unitNo, String energyType);
	JSONObject powerLayer(String unitNo, String energyType, String date);
	List<Map<String, Object>> powerSort(String energyType, String date);
}